<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'taskList.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
    <h1>我的待办任务<span style="font-size: 12px">[${userId }]</span></h1>
    <table border="0" cellspacing="0" class="task_table" id="task">
    	<thead>
    		<tr>
    			<td width="7%">序号</td>
    			<td width="5%">编号</td>
    			<td width="9%">申请人</td>
    			<td width="55%">请假原因</td>
    			<td width="5%">天</td>
    			<td width="19%">操作</td>
    		</tr>
    	</thead>
    	<tbody>
    		
    		<c:forEach items="list" var="ti" varStatus="index">
    			<tr class="line">
    			<td>${index + 1}</td>
    			<td>${ti.tid }</td>
    			<td>${ti.actorId}</td>
    			<td>${ti.treason }</td>
    			<td>${ti.tday }天</td>
    			<td>
    				&nbsp;
       			</td>
    		</tr>
    			
    		</c:forEach>
    	</tbody>
  </table>
  </body>
</html>
